package elementRegulation;

import java.util.ArrayList;

import train.Train;

public class Invoker {
	private ElementRegulation command = null;
	public Invoker(ElementRegulation command){
		this.command = command;
	}
	public void action(ArrayList<Train> listTrains){
		command.execute(listTrains);
	}
}
